Move documentation to inline comments: GtkSeparatorMenuItem
authorJavier Jardón <jjardon@gnome.org>
Sat, 15 May 2010 22:40:11 +0000 (00:40 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sat, 15 May 2010 22:40:11 +0000 (00:40 +0200)
docs/reference/gtk/tmpl/.gitignore
docs/reference/gtk/tmpl/gtkseparatormenuitem.sgml [deleted file]
gtk/gtkseparatormenuitem.c

index 618a2dd7b1c4b15c693088aed45ca44a31ac81ae..d1700d03f93cde5c7f3d480e37f70150655c18ac 100644 (file)
@@ -10,6 +10,7 @@ gtkradioaction.sgml
 gtkrecentaction.sgml
 gtkscalebutton.sgml
 gtkseparator.sgml
+gtkseparatormenuitem.sgml
 gtktesting.sgml
 gtktextiter.sgml
 gtktoggleaction.sgml
diff --git a/docs/reference/gtk/tmpl/gtkseparatormenuitem.sgml b/docs/reference/gtk/tmpl/gtkseparatormenuitem.sgml
deleted file mode 100644 (file)
index d3fcd5f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<!-- ##### SECTION Title ##### -->
-GtkSeparatorMenuItem
-
-<!-- ##### SECTION Short_Description ##### -->
-A separator used in menus
-
-<!-- ##### SECTION Long_Description ##### -->
-<para>
-The #GtkSeparatorMenuItem is a separator used to group
-items within a menu. It displays a horizontal line with a shadow to
-make it appear sunken into the interface.
-</para>
-
-<!-- ##### SECTION See_Also ##### -->
-<para>
-
-</para>
-
-<!-- ##### SECTION Stability_Level ##### -->
-
-
-<!-- ##### SECTION Image ##### -->
-
-
-<!-- ##### STRUCT GtkSeparatorMenuItem ##### -->
-<para>
-The #GtkSeparatorMenuItem-struct struct contains private data only, and
-should be accessed using the functions below.
-</para>
-
-
-<!-- ##### FUNCTION gtk_separator_menu_item_new ##### -->
-<para>
-Creates a new #GtkSeparatorMenuItem.
-</para>
-
-@void: 
-@Returns: a new #GtkSeparatorMenuItem.
-
-
index e59de238f59ab2ccde66e60967c08df3857f27a5..d096b5f33c2b398c0a20685baf15b358efa38389 100644 (file)
 #include "gtkseparatormenuitem.h"
 #include "gtkalias.h"
 
+
+/**
+ * SECTION:gtkseparatormenuitem
+ * @Short_description: A separator used in menus
+ * @Title: GtkSeparatorMenuItem
+ *
+ * The #GtkSeparatorMenuItem is a separator used to group
+ * items within a menu. It displays a horizontal line with a shadow to
+ * make it appear sunken into the interface.
+ */
+
+
 G_DEFINE_TYPE (GtkSeparatorMenuItem, gtk_separator_menu_item, GTK_TYPE_MENU_ITEM)
 
 static void
@@ -41,6 +53,13 @@ gtk_separator_menu_item_init (GtkSeparatorMenuItem *item)
 {
 }
 
+/**
+ * gtk_separator_menu_item_new:
+ *
+ * Creates a new #GtkSeparatorMenuItem.
+ *
+ * Returns: a new #GtkSeparatorMenuItem.
+ */
 GtkWidget *
 gtk_separator_menu_item_new (void)
 {